#### ---- ####
# Archivo generado por SimulatorGUI
# CIMEC - Santa Fe - Argentina 
# Adecuado para levantar desde Interfaz Grafica 
# O para correr desde consola mediante $python main.py 
#### ---- ####


#--------- Inicializacion de Simulator

Simulator0 = dict()
Simulator0['dtheta_rpm'] = 1.0
Simulator0['filein_state'] = ''
Simulator0['calc_engine_data'] = 1
Simulator0['Courant'] = 0.8
Simulator0['heat_flow'] = 0.0
Simulator0['R_gas'] = 287.0
Simulator0['rpms'] = [1000, 1200, 1400, 1600, 1800, 2000]
Simulator0['filesave_spd'] = ''
Simulator0['filesave_state'] = 'compBiCylState.dat'
Simulator0['ncycles'] = 4
Simulator0['folder_name'] = 'compBiCyl'
Simulator0['ga'] = 1.4
Simulator0['viscous_flow'] = 1.0
Simulator0['nsave'] = 50
Simulator0['ig_order'] = [0, 1]
Simulator0['get_state'] = 2
Simulator0['nappend'] = 50.0
Simulator0['engine_type'] = 0
Simulator0['nstroke'] = 4

Simulator = Simulator0


#--------- FIN Inicializacion de Simulator


#--------- Inicializacion de Cylinders

Cylinders = []

Cylinders0 = dict()
Cylinders0['crank_radius'] = 0.034
Cylinders0['type_ig'] = 0
Cylinders0['ndof'] = 3
Cylinders0['full_implicit'] = 0.0
Cylinders0['model_ht'] = 3
Cylinders0['factor_ht'] = 0.6
Cylinders0['piston_area'] = 0.006
Cylinders0['ownState'] = 1
Cylinders0['mass_C'] = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
Cylinders0['nnod'] = 3
Cylinders0['label'] = 'cyl0'
Cylinders0['twall'] = [600.0]
Cylinders0['state_ini'] = [[0.0, 0.0, 0.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0]]
Cylinders0['nve'] = 1
Cylinders0['head_chamber_area'] = 0.008
Cylinders0['rod_length'] = 0.118
Cylinders0['species_model'] = 0
Cylinders0['nvi'] = 1
Cylinders0['delta_ca'] = 0.0
Cylinders0['extras'] = 1
Cylinders0['SRv'] = 0.01
Cylinders0['histo'] = [0, 1, 2]
Cylinders0['Vol_clearance'] = 4.4e-05
Cylinders0['Bore'] = 0.086
Cylinders0['scavenge'] = 0.0


#--------- Inicializacion de fuel

fuel0 = dict()
fuel0['y'] = 2.25
fuel0['hvap_fuel'] = 0.01
fuel0['Q_fuel'] = 46000000.0

Cylinders0['fuel'] = fuel0


#--------- FIN Inicializacion de fuel


#--------- Inicializacion de combustion

combustion0 = dict()
combustion0['phi'] = 1.3904
combustion0['a_wiebe'] = 6.02
combustion0['dtheta_comb'] = 1.4835
combustion0['combustion_model'] = 1
combustion0['m_wiebe'] = 1.64
combustion0['theta_ig_0'] = 5.94

Cylinders0['combustion'] = combustion0


#--------- FIN Inicializacion de combustion


#--------- Inicializacion de injection

injection0 = dict()

Cylinders0['injection'] = injection0


#--------- FIN Inicializacion de injection

Cylinders0['position'] = (257,103)
Cylinders0['exhaust_valves'] = []
Cylinders0['intake_valves'] = []

Cylinders.append(Cylinders0)

Cylinders1 = dict()
Cylinders1['crank_radius'] = 0.034
Cylinders1['type_ig'] = 0
Cylinders1['ndof'] = 3
Cylinders1['full_implicit'] = 0.0
Cylinders1['model_ht'] = 3
Cylinders1['factor_ht'] = 0.6
Cylinders1['piston_area'] = 0.006
Cylinders1['ownState'] = 1
Cylinders1['mass_C'] = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
Cylinders1['nnod'] = 3
Cylinders1['label'] = 'cyl1'
Cylinders1['twall'] = [600.0]
Cylinders1['state_ini'] = [[0.0, 0.0, 0.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0]]
Cylinders1['nve'] = 1
Cylinders1['head_chamber_area'] = 0.008
Cylinders1['rod_length'] = 0.118
Cylinders1['species_model'] = 0
Cylinders1['nvi'] = 1
Cylinders1['delta_ca'] = 0.0
Cylinders1['extras'] = 1
Cylinders1['SRv'] = 0.01
Cylinders1['histo'] = [0, 1, 2]
Cylinders1['Vol_clearance'] = 4.4e-05
Cylinders1['Bore'] = 0.086
Cylinders1['scavenge'] = 0.0


#--------- Inicializacion de fuel

fuel0 = dict()
fuel0['y'] = 2.25
fuel0['hvap_fuel'] = 0.01
fuel0['Q_fuel'] = 46000000.0

Cylinders1['fuel'] = fuel0


#--------- FIN Inicializacion de fuel


#--------- Inicializacion de combustion

combustion0 = dict()
combustion0['phi'] = 1.3904
combustion0['a_wiebe'] = 6.02
combustion0['dtheta_comb'] = 1.4835
combustion0['combustion_model'] = 1
combustion0['m_wiebe'] = 1.64
combustion0['theta_ig_0'] = 5.94

Cylinders1['combustion'] = combustion0


#--------- FIN Inicializacion de combustion


#--------- Inicializacion de injection

injection0 = dict()

Cylinders1['injection'] = injection0


#--------- FIN Inicializacion de injection

Cylinders1['position'] = (264,251)
Cylinders1['exhaust_valves'] = []
Cylinders1['intake_valves'] = []

Cylinders.append(Cylinders1)


#--------- FIN Inicializacion de Cylinders


#--------- Inicializacion de Valves

Valves = []

Valves0 = dict()
Valves0['angle_VC'] = 4.0317
Valves0['Lvmax'] = 0.009
Valves0['label'] = 'val0'
Valves0['histo'] = 1
Valves0['Nval'] = 1
Valves0['Dv'] = 0.0303
Valves0['type_dat'] = 0
Valves0['Cd'] = [[0.0, 0.0], [0.00151, 0.13904794], [0.00303, 0.26121148], [0.00454, 0.36053144], [0.00606, 0.45389219], [0.00757, 0.48666778], [0.00909, 0.51050457], [0.0106, 0.52308509]]
Valves0['type'] = 0
Valves0['angle_V0'] = 12.1126
Valves0['valve_model'] = 0
Valves0['position'] = (211,116)
Valves0['tube'] = 1
Valves0['ncyl'] = 0
Valves0['typeVal'] = 'int'
Cylinders0['intake_valves'].append(Valves0)
Valves.append(Valves0)

Valves1 = dict()
Valves1['angle_VC'] = 4.0317
Valves1['Lvmax'] = 0.009
Valves1['label'] = 'val1'
Valves1['histo'] = 1
Valves1['Nval'] = 1
Valves1['Dv'] = 0.0303
Valves1['type_dat'] = 0
Valves1['Cd'] = [[0.0, 0.0], [0.00151, 0.13904794], [0.00303, 0.26121148], [0.00454, 0.36053144], [0.00606, 0.45389219], [0.00757, 0.48666778], [0.00909, 0.51050457], [0.0106, 0.52308509]]
Valves1['type'] = 0
Valves1['angle_V0'] = 12.1126
Valves1['valve_model'] = 0
Valves1['position'] = (230,249)
Valves1['tube'] = 2
Valves1['ncyl'] = 1
Valves1['typeVal'] = 'int'
Cylinders1['intake_valves'].append(Valves1)
Valves.append(Valves1)

Valves2 = dict()
Valves2['angle_VC'] = 0.4363
Valves2['Lvmax'] = 0.0085
Valves2['label'] = 'val2'
Valves2['histo'] = 1
Valves2['Nval'] = 1
Valves2['Dv'] = 0.03
Valves2['type_dat'] = 0
Valves2['Cd'] = [[0.0, 0.0], [0.0015, 0.14082964], [0.003, 0.2691636], [0.0045, 0.36507635], [0.006, 0.412695], [0.0075, 0.43262054], [0.009, 0.44140128], [0.0105, 0.44545394]]
Valves2['type'] = 1
Valves2['angle_V0'] = 8.587
Valves2['valve_model'] = 0
Valves2['position'] = (316,122)
Valves2['tube'] = 3
Valves2['ncyl'] = 0
Valves2['typeVal'] = 'exh'
Cylinders0['exhaust_valves'].append(Valves2)
Valves.append(Valves2)

Valves3 = dict()
Valves3['angle_VC'] = 0.4363
Valves3['Lvmax'] = 0.0085
Valves3['label'] = 'val3'
Valves3['histo'] = 1
Valves3['Nval'] = 1
Valves3['Dv'] = 0.03
Valves3['type_dat'] = 0
Valves3['Cd'] = [[0.0, 0.0], [0.0015, 0.14082964], [0.003, 0.2691636], [0.0045, 0.36507635], [0.006, 0.412695], [0.0075, 0.43262054], [0.009, 0.44140128], [0.0105, 0.44545394]]
Valves3['type'] = 1
Valves3['angle_V0'] = 8.587
Valves3['valve_model'] = 0
Valves3['position'] = (311,249)
Valves3['tube'] = 4
Valves3['ncyl'] = 1
Valves3['typeVal'] = 'exh'
Cylinders1['exhaust_valves'].append(Valves3)
Valves.append(Valves3)


#--------- FIN Inicializacion de Valves


#--------- Inicializacion de Tubes

Tubes = []

Tubes0 = dict()
Tubes0['diameter'] = [0.065, 0.065, 0.065, 0.065, 0.065, 0.065, 0.065, 0.065, 0.065, 0.065, 0.065, 0.065, 0.065, 0.065, 0.065, 0.065, 0.065, 0.065, 0.065, 0.065, 0.065, 0.065, 0.065, 0.065, 0.065, 0.065, 0.065, 0.065, 0.065, 0.065, 0.065, 0.065, 0.065, 0.065, 0.065, 0.065, 0.065, 0.065, 0.065, 0.065, 0.065, 0.065, 0.065, 0.065, 0.065, 0.065, 0.065, 0.065, 0.065, 0.065, 0.065]
Tubes0['numNorm'] = 2
Tubes0['nnod'] = 51
Tubes0['twall'] = [330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0]
Tubes0['ndof'] = 3
Tubes0['state_ini'] = [[1.0, 1.0, 100000.0], [1.0, 1.0, 100000.0], [1.0, 1.0, 100000.0], [1.0, 1.0, 100000.0], [1.0, 1.0, 100000.0], [1.0, 1.0, 100000.0], [1.0, 1.0, 100000.0], [1.0, 1.0, 100000.0], [1.0, 1.0, 100000.0], [1.0, 1.0, 100000.0], [1.0, 1.0, 100000.0], [1.0, 1.0, 100000.0], [1.0, 1.0, 100000.0], [1.0, 1.0, 100000.0], [1.0, 1.0, 100000.0], [1.0, 1.0, 100000.0], [1.0, 1.0, 100000.0], [1.0, 1.0, 100000.0], [1.0, 1.0, 100000.0], [1.0, 1.0, 100000.0], [1.0, 1.0, 100000.0], [1.0, 1.0, 100000.0], [1.0, 1.0, 100000.0], [1.0, 1.0, 100000.0], [1.0, 1.0, 100000.0], [1.0, 1.0, 100000.0], [1.0, 1.0, 100000.0], [1.0, 1.0, 100000.0], [1.0, 1.0, 100000.0], [1.0, 1.0, 100000.0], [1.0, 1.0, 100000.0], [1.0, 1.0, 100000.0], [1.0, 1.0, 100000.0], [1.0, 1.0, 100000.0], [1.0, 1.0, 100000.0], [1.0, 1.0, 100000.0], [1.0, 1.0, 100000.0], [1.0, 1.0, 100000.0], [1.0, 1.0, 100000.0], [1.0, 1.0, 100000.0], [1.0, 1.0, 100000.0], [1.0, 1.0, 100000.0], [1.0, 1.0, 100000.0], [1.0, 1.0, 100000.0], [1.0, 1.0, 100000.0], [1.0, 1.0, 100000.0], [1.0, 1.0, 100000.0], [1.0, 1.0, 100000.0], [1.0, 1.0, 100000.0], [1.0, 1.0, 100000.0], [1.0, 1.0, 100000.0]]
Tubes0['label'] = 'tube0'
Tubes0['histo'] = [0, 50]
Tubes0['xnod'] = [0.0, 0.005, 0.01, 0.015, 0.02, 0.025, 0.03, 0.035, 0.04, 0.045, 0.05, 0.055, 0.06, 0.065, 0.07, 0.075, 0.08, 0.085, 0.09, 0.095, 0.1, 0.105, 0.11, 0.115, 0.12, 0.125, 0.13, 0.135, 0.14, 0.145, 0.15, 0.155, 0.16, 0.165, 0.17, 0.175, 0.18, 0.185, 0.19, 0.195, 0.2, 0.205, 0.21, 0.215, 0.22, 0.225, 0.23, 0.235, 0.24, 0.245, 0.25]
Tubes0['posNorm'] = [0.0, 50.0]
Tubes0['longitud'] = 0.25
Tubes0['typeSave'] = 1
Tubes0['position'] = (91,186)
Tubes0['nleft'] = 0
Tubes0['tleft'] = 'atmosphere'
Tubes0['nright'] = 0
Tubes0['tright'] = 'tank'

Tubes.append(Tubes0)

Tubes1 = dict()
Tubes1['diameter'] = [0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303]
Tubes1['numNorm'] = 2
Tubes1['nnod'] = 121
Tubes1['twall'] = [330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0]
Tubes1['ndof'] = 3
Tubes1['state_ini'] = [[1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0]]
Tubes1['label'] = 'tube1'
Tubes1['histo'] = [0, 120]
Tubes1['xnod'] = [0.0, 0.005, 0.01, 0.015, 0.02, 0.025, 0.03, 0.035, 0.04, 0.045, 0.05, 0.055, 0.06, 0.065, 0.07, 0.075, 0.08, 0.085, 0.09, 0.095, 0.1, 0.105, 0.11, 0.115, 0.12, 0.125, 0.13, 0.135, 0.14, 0.145, 0.15, 0.155, 0.16, 0.165, 0.17, 0.175, 0.18, 0.185, 0.19, 0.195, 0.2, 0.205, 0.21, 0.215, 0.22, 0.225, 0.23, 0.235, 0.24, 0.245, 0.25, 0.255, 0.26, 0.265, 0.27, 0.275, 0.28, 0.285, 0.29, 0.295, 0.3, 0.305, 0.31, 0.315, 0.32, 0.325, 0.33, 0.335, 0.34, 0.345, 0.35, 0.355, 0.36, 0.365, 0.37, 0.375, 0.38, 0.385, 0.39, 0.395, 0.4, 0.405, 0.41, 0.415, 0.42, 0.425, 0.43, 0.435, 0.44, 0.445, 0.45, 0.455, 0.46, 0.465, 0.47, 0.475, 0.48, 0.485, 0.49, 0.495, 0.5, 0.505, 0.51, 0.515, 0.52, 0.525, 0.53, 0.535, 0.54, 0.545, 0.55, 0.555, 0.56, 0.565, 0.57, 0.575, 0.58, 0.585, 0.59, 0.595, 0.6]
Tubes1['posNorm'] = [0.0, 1.0]
Tubes1['longitud'] = 0.6
Tubes1['typeSave'] = 1
Tubes1['position'] = (168,142)
Tubes1['nleft'] = 0
Tubes1['tleft'] = 'tank'
Tubes1['nright'] = 0
Tubes1['tright'] = 'cylinder'

Tubes.append(Tubes1)

Tubes2 = dict()
Tubes2['diameter'] = [0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303, 0.0303]
Tubes2['numNorm'] = 2
Tubes2['nnod'] = 121
Tubes2['twall'] = [330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0, 330.0]
Tubes2['ndof'] = 3
Tubes2['state_ini'] = [[1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0]]
Tubes2['label'] = 'tube2'
Tubes2['histo'] = [0, 120]
Tubes2['xnod'] = [0.0, 0.005, 0.01, 0.015, 0.02, 0.025, 0.03, 0.035, 0.04, 0.045, 0.05, 0.055, 0.06, 0.065, 0.07, 0.075, 0.08, 0.085, 0.09, 0.095, 0.1, 0.105, 0.11, 0.115, 0.12, 0.125, 0.13, 0.135, 0.14, 0.145, 0.15, 0.155, 0.16, 0.165, 0.17, 0.175, 0.18, 0.185, 0.19, 0.195, 0.2, 0.205, 0.21, 0.215, 0.22, 0.225, 0.23, 0.235, 0.24, 0.245, 0.25, 0.255, 0.26, 0.265, 0.27, 0.275, 0.28, 0.285, 0.29, 0.295, 0.3, 0.305, 0.31, 0.315, 0.32, 0.325, 0.33, 0.335, 0.34, 0.345, 0.35, 0.355, 0.36, 0.365, 0.37, 0.375, 0.38, 0.385, 0.39, 0.395, 0.4, 0.405, 0.41, 0.415, 0.42, 0.425, 0.43, 0.435, 0.44, 0.445, 0.45, 0.455, 0.46, 0.465, 0.47, 0.475, 0.48, 0.485, 0.49, 0.495, 0.5, 0.505, 0.51, 0.515, 0.52, 0.525, 0.53, 0.535, 0.54, 0.545, 0.55, 0.555, 0.56, 0.565, 0.57, 0.575, 0.58, 0.585, 0.59, 0.595, 0.6]
Tubes2['posNorm'] = [0.0, 1.0]
Tubes2['longitud'] = 0.6
Tubes2['typeSave'] = 1
Tubes2['position'] = (169,242)
Tubes2['nleft'] = 0
Tubes2['tleft'] = 'tank'
Tubes2['nright'] = 1
Tubes2['tright'] = 'cylinder'

Tubes.append(Tubes2)

Tubes3 = dict()
Tubes3['diameter'] = [0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3]
Tubes3['numNorm'] = 2
Tubes3['nnod'] = 61
Tubes3['twall'] = [600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0]
Tubes3['ndof'] = 3
Tubes3['state_ini'] = [[1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0]]
Tubes3['label'] = 'tube3'
Tubes3['histo'] = [0, 60]
Tubes3['xnod'] = [0.0, 0.005, 0.01, 0.015, 0.02, 0.025, 0.03, 0.035, 0.04, 0.045, 0.05, 0.055, 0.06, 0.065, 0.07, 0.075, 0.08, 0.085, 0.09, 0.095, 0.1, 0.105, 0.11, 0.115, 0.12, 0.125, 0.13, 0.135, 0.14, 0.145, 0.15, 0.155, 0.16, 0.165, 0.17, 0.175, 0.18, 0.185, 0.19, 0.195, 0.2, 0.205, 0.21, 0.215, 0.22, 0.225, 0.23, 0.235, 0.24, 0.245, 0.25, 0.255, 0.26, 0.265, 0.27, 0.275, 0.28, 0.285, 0.29, 0.295, 0.3]
Tubes3['posNorm'] = [0.0, 1.0]
Tubes3['longitud'] = 0.3
Tubes3['typeSave'] = 1
Tubes3['position'] = (395,149)
Tubes3['nleft'] = 0
Tubes3['tleft'] = 'cylinder'
Tubes3['nright'] = 0
Tubes3['tright'] = 'junction'

Tubes.append(Tubes3)

Tubes4 = dict()
Tubes4['diameter'] = [0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3]
Tubes4['numNorm'] = 2
Tubes4['nnod'] = 61
Tubes4['twall'] = [600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0, 600.0]
Tubes4['ndof'] = 3
Tubes4['state_ini'] = [[1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0]]
Tubes4['label'] = 'tube4'
Tubes4['histo'] = [0, 60]
Tubes4['xnod'] = [0.0, 0.005, 0.01, 0.015, 0.02, 0.025, 0.03, 0.035, 0.04, 0.045, 0.05, 0.055, 0.06, 0.065, 0.07, 0.075, 0.08, 0.085, 0.09, 0.095, 0.1, 0.105, 0.11, 0.115, 0.12, 0.125, 0.13, 0.135, 0.14, 0.145, 0.15, 0.155, 0.16, 0.165, 0.17, 0.175, 0.18, 0.185, 0.19, 0.195, 0.2, 0.205, 0.21, 0.215, 0.22, 0.225, 0.23, 0.235, 0.24, 0.245, 0.25, 0.255, 0.26, 0.265, 0.27, 0.275, 0.28, 0.285, 0.29, 0.295, 0.3]
Tubes4['posNorm'] = [0.0, 1.0]
Tubes4['longitud'] = 0.3
Tubes4['typeSave'] = 1
Tubes4['position'] = (380,223)
Tubes4['nleft'] = 1
Tubes4['tleft'] = 'cylinder'
Tubes4['nright'] = 0
Tubes4['tright'] = 'junction'

Tubes.append(Tubes4)

Tubes5 = dict()
Tubes5['diameter'] = [0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03]
Tubes5['numNorm'] = 2
Tubes5['nnod'] = 101
Tubes5['twall'] = [400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0]
Tubes5['ndof'] = 3
Tubes5['state_ini'] = [[1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0]]
Tubes5['label'] = 'tube5'
Tubes5['histo'] = [0, 100]
Tubes5['xnod'] = [0.0, 0.005, 0.01, 0.015, 0.02, 0.025, 0.03, 0.035, 0.04, 0.045, 0.05, 0.055, 0.06, 0.065, 0.07, 0.075, 0.08, 0.085, 0.09, 0.095, 0.1, 0.105, 0.11, 0.115, 0.12, 0.125, 0.13, 0.135, 0.14, 0.145, 0.15, 0.155, 0.16, 0.165, 0.17, 0.175, 0.18, 0.185, 0.19, 0.195, 0.2, 0.205, 0.21, 0.215, 0.22, 0.225, 0.23, 0.235, 0.24, 0.245, 0.25, 0.255, 0.26, 0.265, 0.27, 0.275, 0.28, 0.285, 0.29, 0.295, 0.3, 0.305, 0.31, 0.315, 0.32, 0.325, 0.33, 0.335, 0.34, 0.345, 0.35, 0.355, 0.36, 0.365, 0.37, 0.375, 0.38, 0.385, 0.39, 0.395, 0.4, 0.405, 0.41, 0.415, 0.42, 0.425, 0.43, 0.435, 0.44, 0.445, 0.45, 0.455, 0.46, 0.465, 0.47, 0.475, 0.48, 0.485, 0.49, 0.495, 0.5]
Tubes5['posNorm'] = [0.0, 1.0]
Tubes5['longitud'] = 0.5
Tubes5['typeSave'] = 1
Tubes5['position'] = (608,186)
Tubes5['nleft'] = 0
Tubes5['tleft'] = 'junction'
Tubes5['nright'] = 1
Tubes5['tright'] = 'atmosphere'

Tubes.append(Tubes5)


#--------- FIN Inicializacion de Tubes


#--------- Inicializacion de Tanks

Tanks = []

Tanks0 = dict()
Tanks0['Area_wall'] = 0.09
Tanks0['nnod'] = 4
Tanks0['ndof'] = 3
Tanks0['label'] = 'tank0'
Tanks0['Volume'] = 0.0015
Tanks0['state_ini'] = [[0.0, 0.0, 0.0], [1.0, 1.0, 100000.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0]]
Tanks0['extras'] = 0
Tanks0['mass'] = 0.0015
Tanks0['histo'] = [0]
Tanks0['Cd_ports'] = [0.5, 0.5, 0.5]
Tanks0['T_wall'] = 330.0
Tanks0['h_film'] = 300.0
Tanks0['position'] = (140,190)
Tanks0['int2tube'] = [0]
Tanks0['exh2tube'] = [1, 2]

Tanks.append(Tanks0)


#--------- FIN Inicializacion de Tanks


#--------- Inicializacion de Junctions

Junctions = []

Junctions0 = dict()
Junctions0['nnod'] = 3
Junctions0['ndof'] = 3
Junctions0['label'] = 'junc0'
Junctions0['extras'] = 0
Junctions0['histo'] = []
Junctions0['modelo_junc'] = 1
Junctions0['position'] = (490,190)
Junctions0['type_end'] = [1, 1, -1]
Junctions0['node2tube'] = [4, 3, 5]
Junctions0['state_ini'] = [[1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0], [1.0, 100000.0, 1.0]]
Junctions.append(Junctions0)


#--------- FIN Inicializacion de Junctions


#--------- Inicializacion de Atmospheres

Atmospheres = []

Atmospheres0 = dict()
Atmospheres0['nnod'] = 1
Atmospheres0['ndof'] = 3
Atmospheres0['state_ini'] = [1.1647, 0.1, 101330.0]
Atmospheres0['position'] = (29,185)

Atmospheres.append(Atmospheres0)

Atmospheres1 = dict()
Atmospheres1['nnod'] = 1
Atmospheres1['ndof'] = 3
Atmospheres1['state_ini'] = [1.1647, 0.1, 101330.0]
Atmospheres1['position'] = (660,177)

Atmospheres.append(Atmospheres1)


#--------- FIN Inicializacion de Atmospheres



kargs = {'Simulator':Simulator, 'Cylinders':Cylinders, 'Junctions':Junctions, 'Tubes':Tubes, 'Tanks':Tanks, 'Atmospheres':Atmospheres}
